package com.mangguo.tingjian.content.service;

import com.mangguo.tingjian.content.dto.TagCountResult;
import com.mangguo.tingjian.content.entity.DwPlayer;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * play同步表 服务类
 * </p>
 *
 * @author auto
 * @since 2019-11-24
 */
public interface IDwPlayerService extends IService<DwPlayer> {
    Long countPlayBetweenDate(Integer start, Integer end);
    Long countPlayAvgBetweenDate(Integer start, Integer end);
    Long sumPlayTimeBetweenDate(Integer start, Integer end);
    Long sumPlayAvgTimeBetweenDate(Integer start, Integer end);
    List<TagCountResult> getTagPlayOrder(Long lvl1, Long lvl2,Integer start, Integer end);
}
